package com.dong.mcd.control;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.dong.mcd.dao.MoneyPojoMapper;
import com.dong.mcd.param.DictParam;
import com.dong.mcd.pub.BaseAction;
import com.dong.mcd.pub.IPublicDao;

@Controller
@RequestMapping("/system/emos")
public class EmosAction  extends BaseAction {

	@Autowired
	private MoneyPojoMapper mapper;
	
	@Autowired
	private IPublicDao publicDao;
	
	@RequestMapping("/query")
	public void queryDict(HttpServletRequest request, HttpServletResponse response) throws Exception {
		System.out.println("``````");
		writeJson(response, publicDao.selectPage("com.dong.mcd.dao.CommMapping.queryMenu", 0, 5));
	}
	
}
